package cn.holy.app.xcddt.database;

import androidx.room.Database;
import androidx.room.RoomDatabase;
import androidx.room.TypeConverters;

import cn.holy.app.xcddt.database.dao.RecordDao;
import cn.holy.app.xcddt.database.dao.RecordGroupDao;
import cn.holy.app.xcddt.database.dao.RecordUserDao;
import cn.holy.app.xcddt.domain.RecordBean;
import cn.holy.app.xcddt.domain.RecordGroup;
import cn.holy.app.xcddt.domain.RecordUserBean;


/**
 * Created by xionghao on 2018/2/23.
 */

@Database(entities = {RecordBean.class, RecordGroup.class, RecordUserBean.class}, version = 4)
@TypeConverters({Converters.class})
public abstract class AppDataBase extends RoomDatabase {

    public abstract RecordDao recordDao();

    public abstract RecordGroupDao recordGroupDao();

    public abstract RecordUserDao recordUserDao();
}
